@echo off
set name=%~n0
keytool -genkeypair -alias %name% -keyalg RSA -keypass %name% -validity 36500 -dname "CN=%name%,OU=,O=,L=,S=, C=" -keystore %name%.jks -storepass %name%